Eye_tracking 1
 
Cargando...
Buscando...
Nada coincide
Referencia de la clase pygaze.gaze_estimator.GazeEstimator

Métodos públicos

 __init__ (self, DictConfig config)
 
List[Face] detect_faces (self, np.ndarray image)
 
None estimate_gaze (self, np.ndarray image, Face face)
 

Atributos públicos

 camera = Camera(config.gaze_estimator.camera_params)
 

Atributos públicos estáticos

list EYE_KEYS = [FacePartsName.REYE, FacePartsName.LEYE]
 

Métodos protegidos

torch.nn.Module _load_model (self)
 
None _run_ethxgaze_model (self, Face face)
 

Atributos protegidos

 _config = config
 
 _face_model3d = FaceModelMediaPipe()
 
 _normalized_camera = Camera(config.gaze_estimator.normalized_camera_params)
 
 _landmark_estimator = LandmarkEstimator(config)
 
 _head_pose_normalizer
 
torch.nn.Module _gaze_estimation_model = self._load_model()
 
 _transform = create_transform(config)
 

Descripción detallada

Definición en la línea 17 del archivo gaze_estimator.py.

Documentación de constructores y destructores

◆ __init__()

pygaze.gaze_estimator.GazeEstimator.__init__ ( self,
DictConfig config )

Definición en la línea 20 del archivo gaze_estimator.py.

Documentación de funciones miembro

◆ _load_model()

torch.nn.Module pygaze.gaze_estimator.GazeEstimator._load_model ( self)
protected

Definición en la línea 35 del archivo gaze_estimator.py.

◆ _run_ethxgaze_model()

None pygaze.gaze_estimator.GazeEstimator._run_ethxgaze_model ( self,
Face face )
protected

Definición en la línea 55 del archivo gaze_estimator.py.

◆ detect_faces()

List[Face] pygaze.gaze_estimator.GazeEstimator.detect_faces ( self,
np.ndarray image )

Definición en la línea 44 del archivo gaze_estimator.py.

◆ estimate_gaze()

None pygaze.gaze_estimator.GazeEstimator.estimate_gaze ( self,
np.ndarray image,
Face face )

Definición en la línea 47 del archivo gaze_estimator.py.

Documentación de datos miembro

◆ _config

pygaze.gaze_estimator.GazeEstimator._config = config
protected

Definición en la línea 21 del archivo gaze_estimator.py.

◆ _face_model3d

pygaze.gaze_estimator.GazeEstimator._face_model3d = FaceModelMediaPipe()
protected

Definición en la línea 23 del archivo gaze_estimator.py.

◆ _gaze_estimation_model

torch.nn.Module pygaze.gaze_estimator.GazeEstimator._gaze_estimation_model = self._load_model()
protected

Definición en la línea 32 del archivo gaze_estimator.py.

◆ _head_pose_normalizer

pygaze.gaze_estimator.GazeEstimator._head_pose_normalizer
protected
Valor inicial:
= HeadPoseNormalizer(
self.camera, self._normalized_camera,
self._config.gaze_estimator.normalized_camera_distance)

Definición en la línea 29 del archivo gaze_estimator.py.

◆ _landmark_estimator

pygaze.gaze_estimator.GazeEstimator._landmark_estimator = LandmarkEstimator(config)
protected

Definición en la línea 28 del archivo gaze_estimator.py.

◆ _normalized_camera

pygaze.gaze_estimator.GazeEstimator._normalized_camera = Camera(config.gaze_estimator.normalized_camera_params)
protected

Definición en la línea 26 del archivo gaze_estimator.py.

◆ _transform

pygaze.gaze_estimator.GazeEstimator._transform = create_transform(config)
protected

Definición en la línea 33 del archivo gaze_estimator.py.

◆ camera

pygaze.gaze_estimator.GazeEstimator.camera = Camera(config.gaze_estimator.camera_params)

Definición en la línea 25 del archivo gaze_estimator.py.

◆ EYE_KEYS

list pygaze.gaze_estimator.GazeEstimator.EYE_KEYS = [FacePartsName.REYE, FacePartsName.LEYE]
static

Definición en la línea 18 del archivo gaze_estimator.py.


La documentación de esta clase está generada del siguiente archivo: